from django.contrib import admin
from django.urls import path, re_path
from apps.verifications import views

urlpatterns = [

    # ==> 图形验证码 GET http://www.meiduo.site:8000/image_codes/UUID/
    path('image_codes/<uuid:uuid>/', views.ImageVerificationsView.as_view()),

    # ==> 短信验证码 GET http://www.meiduo.site:8000/sms_codes/15800000003/
    re_path('sms_codes/(?P<mobile>.+)/', views.SmsCodeView.as_view()),
]
